3.3.9 \(\int \frac {\sqrt {a+b \sec (e+f x)}}{(c+d \sec (e+f x))^{3/2}} \, dx\) [209]

3.3.9.1 Optimal result
3.3.9.2 Mathematica [B] (warning: unable to verify)
3.3.9.3 Rubi [A] (verified)
3.3.9.4 Maple [B] (warning: unable to verify)
3.3.9.5 Fricas [F(-1)]
3.3.9.6 Sympy [F]
3.3.9.7 Maxima [F]
3.3.9.8 Giac [F]
3.3.9.9 Mupad [F(-1)]

3.3.9.1 Optimal result

Integrand size = 29, antiderivative size = 598 \[ \int \frac {\sqrt {a+b \sec (e+f x)}}{(c+d \sec (e+f x))^{3/2}} \, dx=-\frac {2 \sqrt {c+d} \cot (e+f x) \operatorname {EllipticPi}\left (\frac {a (c+d)}{(a+b) c},\arcsin \left (\frac {\sqrt {a+b} \sqrt {c+d \sec (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sec (e+f x)}}\right ),\frac {(a-b) (c+d)}{(a+b) (c-d)}\right ) \sqrt {-\frac {(b c-a d) (1-\sec (e+f x))}{(c+d) (a+b \sec (e+f x))}} \sqrt {\frac {(b c-a d) (1+\sec (e+f x))}{(c-d) (a+b \sec (e+f x))}} (a+b \sec (e+f x))}{\sqrt {a+b} c^2 f}-\frac {2 \sqrt {a+b} d \cot (e+f x) E\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sec (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sec (e+f x)}}\right )|\frac {(a+b) (c-d)}{(a-b) (c+d)}\right ) (1+\sec (e+f x)) \sqrt {\frac {(b c-a d) (1-\sec (e+f x))}{(a+b) (c+d \sec (e+f x))}}}{c (c-d) \sqrt {c+d} f \sqrt {-\frac {(b c-a d) (1+\sec (e+f x))}{(a-b) (c+d \sec (e+f x))}}}-\frac {2 (a-b) \sqrt {a+b} d \cot (e+f x) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sec (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sec (e+f x)}}\right ),\frac {(a+b) (c-d)}{(a-b) (c+d)}\right ) \sqrt {\frac {(b c-a d) (1-\sec (e+f x))}{(a+b) (c+d \sec (e+f x))}} \sqrt {-\frac {(b c-a d) (1+\sec (e+f x))}{(a-b) (c+d \sec (e+f x))}} (c+d \sec (e+f x))}{c (c-d) \sqrt {c+d} (b c-a d) f} \]

output
-2*cot(f*x+e)*EllipticPi((a+b)^(1/2)*(c+d*sec(f*x+e))^(1/2)/(c+d)^(1/2)/(a 
+b*sec(f*x+e))^(1/2),a*(c+d)/(a+b)/c,((a-b)*(c+d)/(a+b)/(c-d))^(1/2))*(a+b 
*sec(f*x+e))*(c+d)^(1/2)*(-(-a*d+b*c)*(1-sec(f*x+e))/(c+d)/(a+b*sec(f*x+e) 
))^(1/2)*((-a*d+b*c)*(1+sec(f*x+e))/(c-d)/(a+b*sec(f*x+e)))^(1/2)/c^2/f/(a 
+b)^(1/2)-2*d*cot(f*x+e)*EllipticE((c+d)^(1/2)*(a+b*sec(f*x+e))^(1/2)/(a+b 
)^(1/2)/(c+d*sec(f*x+e))^(1/2),((a+b)*(c-d)/(a-b)/(c+d))^(1/2))*(1+sec(f*x 
+e))*(a+b)^(1/2)*((-a*d+b*c)*(1-sec(f*x+e))/(a+b)/(c+d*sec(f*x+e)))^(1/2)/ 
c/(c-d)/f/(c+d)^(1/2)/(-(-a*d+b*c)*(1+sec(f*x+e))/(a-b)/(c+d*sec(f*x+e)))^ 
(1/2)-2*(a-b)*d*cot(f*x+e)*EllipticF((c+d)^(1/2)*(a+b*sec(f*x+e))^(1/2)/(a 
+b)^(1/2)/(c+d*sec(f*x+e))^(1/2),((a+b)*(c-d)/(a-b)/(c+d))^(1/2))*(c+d*sec 
(f*x+e))*(a+b)^(1/2)*((-a*d+b*c)*(1-sec(f*x+e))/(a+b)/(c+d*sec(f*x+e)))^(1 
/2)*(-(-a*d+b*c)*(1+sec(f*x+e))/(a-b)/(c+d*sec(f*x+e)))^(1/2)/c/(c-d)/(-a* 
d+b*c)/f/(c+d)^(1/2)
 
3.3.9.2 Mathematica [B] (warning: unable to verify)

Leaf count is larger than twice the leaf count of optimal. \(1708\) vs. \(2(598)=1196\).

Time = 14.55 (sec) , antiderivative size = 1708, normalized size of antiderivative = 2.86 \[ \int \frac {\sqrt {a+b \sec (e+f x)}}{(c+d \sec (e+f x))^{3/2}} \, dx =\text {Too large to display} \]

input
Integrate[Sqrt[a + b*Sec[e + f*x]]/(c + d*Sec[e + f*x])^(3/2),x]
 
output
((d + c*Cos[e + f*x])^(3/2)*Sec[e + f*x]*Sqrt[a + b*Sec[e + f*x]]*((4*b*c* 
(b*c - a*d)*Sqrt[((c + d)*Cot[(e + f*x)/2]^2)/(c - d)]*Sqrt[((c + d)*(b + 
a*Cos[e + f*x])*Csc[(e + f*x)/2]^2)/(b*c - a*d)]*Sqrt[((-a - b)*(d + c*Cos 
[e + f*x])*Csc[(e + f*x)/2]^2)/(b*c - a*d)]*Csc[e + f*x]*EllipticF[ArcSin[ 
Sqrt[((-a - b)*(d + c*Cos[e + f*x])*Csc[(e + f*x)/2]^2)/(b*c - a*d)]/Sqrt[ 
2]], (2*(b*c - a*d))/((a + b)*(c - d))]*Sin[(e + f*x)/2]^4)/((a + b)*(c + 
d)*Sqrt[b + a*Cos[e + f*x]]*Sqrt[d + c*Cos[e + f*x]]) + 4*(b*c - a*d)*(a*c 
 + b*d)*((Sqrt[((c + d)*Cot[(e + f*x)/2]^2)/(c - d)]*Sqrt[((c + d)*(b + a* 
Cos[e + f*x])*Csc[(e + f*x)/2]^2)/(b*c - a*d)]*Sqrt[((-a - b)*(d + c*Cos[e 
 + f*x])*Csc[(e + f*x)/2]^2)/(b*c - a*d)]*Csc[e + f*x]*EllipticF[ArcSin[Sq 
rt[((-a - b)*(d + c*Cos[e + f*x])*Csc[(e + f*x)/2]^2)/(b*c - a*d)]/Sqrt[2] 
], (2*(b*c - a*d))/((a + b)*(c - d))]*Sin[(e + f*x)/2]^4)/((a + b)*(c + d) 
*Sqrt[b + a*Cos[e + f*x]]*Sqrt[d + c*Cos[e + f*x]]) - (Sqrt[((c + d)*Cot[( 
e + f*x)/2]^2)/(c - d)]*Sqrt[((c + d)*(b + a*Cos[e + f*x])*Csc[(e + f*x)/2 
]^2)/(b*c - a*d)]*Sqrt[((-a - b)*(d + c*Cos[e + f*x])*Csc[(e + f*x)/2]^2)/ 
(b*c - a*d)]*Csc[e + f*x]*EllipticPi[(b*c - a*d)/((a + b)*c), ArcSin[Sqrt[ 
((-a - b)*(d + c*Cos[e + f*x])*Csc[(e + f*x)/2]^2)/(b*c - a*d)]/Sqrt[2]], 
(2*(b*c - a*d))/((a + b)*(c - d))]*Sin[(e + f*x)/2]^4)/((a + b)*c*Sqrt[b + 
 a*Cos[e + f*x]]*Sqrt[d + c*Cos[e + f*x]])) + 2*a*d*((Sqrt[(-a + b)/(a + b 
)]*(a + b)*Cos[(e + f*x)/2]*Sqrt[d + c*Cos[e + f*x]]*EllipticE[ArcSin[(...
 
3.3.9.3 Rubi [A] (verified)

Time = 1.90 (sec) , antiderivative size = 597, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.276, Rules used = {3042, 4427, 3042, 4424, 4474, 3042, 4472, 4482}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {\sqrt {a+b \sec (e+f x)}}{(c+d \sec (e+f x))^{3/2}} \, dx\)

\(\Big \downarrow \) 3042

\(\displaystyle \int \frac {\sqrt {a+b \csc \left (e+f x+\frac {\pi }{2}\right )}}{\left (c+d \csc \left (e+f x+\frac {\pi }{2}\right )\right )^{3/2}}dx\)

\(\Big \downarrow \) 4427

\(\displaystyle \frac {\int \frac {\sqrt {a+b \sec (e+f x)}}{\sqrt {c+d \sec (e+f x)}}dx}{c}-\frac {d \int \frac {\sec (e+f x) \sqrt {a+b \sec (e+f x)}}{(c+d \sec (e+f x))^{3/2}}dx}{c}\)

\(\Big \downarrow \) 3042

\(\displaystyle \frac {\int \frac {\sqrt {a+b \csc \left (e+f x+\frac {\pi }{2}\right )}}{\sqrt {c+d \csc \left (e+f x+\frac {\pi }{2}\right )}}dx}{c}-\frac {d \int \frac {\csc \left (e+f x+\frac {\pi }{2}\right ) \sqrt {a+b \csc \left (e+f x+\frac {\pi }{2}\right )}}{\left (c+d \csc \left (e+f x+\frac {\pi }{2}\right )\right )^{3/2}}dx}{c}\)

\(\Big \downarrow \) 4424

\(\displaystyle -\frac {d \int \frac {\csc \left (e+f x+\frac {\pi }{2}\right ) \sqrt {a+b \csc \left (e+f x+\frac {\pi }{2}\right )}}{\left (c+d \csc \left (e+f x+\frac {\pi }{2}\right )\right )^{3/2}}dx}{c}-\frac {2 \sqrt {c+d} \cot (e+f x) (a+b \sec (e+f x)) \sqrt {-\frac {(b c-a d) (1-\sec (e+f x))}{(c+d) (a+b \sec (e+f x))}} \sqrt {\frac {(b c-a d) (\sec (e+f x)+1)}{(c-d) (a+b \sec (e+f x))}} \operatorname {EllipticPi}\left (\frac {a (c+d)}{(a+b) c},\arcsin \left (\frac {\sqrt {a+b} \sqrt {c+d \sec (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sec (e+f x)}}\right ),\frac {(a-b) (c+d)}{(a+b) (c-d)}\right )}{c^2 f \sqrt {a+b}}\)

\(\Big \downarrow \) 4474

\(\displaystyle -\frac {d \left (\frac {(b c-a d) \int \frac {\sec (e+f x) (\sec (e+f x)+1)}{\sqrt {a+b \sec (e+f x)} (c+d \sec (e+f x))^{3/2}}dx}{c-d}+\frac {(a-b) \int \frac {\sec (e+f x)}{\sqrt {a+b \sec (e+f x)} \sqrt {c+d \sec (e+f x)}}dx}{c-d}\right )}{c}-\frac {2 \sqrt {c+d} \cot (e+f x) (a+b \sec (e+f x)) \sqrt {-\frac {(b c-a d) (1-\sec (e+f x))}{(c+d) (a+b \sec (e+f x))}} \sqrt {\frac {(b c-a d) (\sec (e+f x)+1)}{(c-d) (a+b \sec (e+f x))}} \operatorname {EllipticPi}\left (\frac {a (c+d)}{(a+b) c},\arcsin \left (\frac {\sqrt {a+b} \sqrt {c+d \sec (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sec (e+f x)}}\right ),\frac {(a-b) (c+d)}{(a+b) (c-d)}\right )}{c^2 f \sqrt {a+b}}\)

\(\Big \downarrow \) 3042

\(\displaystyle -\frac {d \left (\frac {(a-b) \int \frac {\csc \left (e+f x+\frac {\pi }{2}\right )}{\sqrt {a+b \csc \left (e+f x+\frac {\pi }{2}\right )} \sqrt {c+d \csc \left (e+f x+\frac {\pi }{2}\right )}}dx}{c-d}+\frac {(b c-a d) \int \frac {\sec (e+f x) (\sec (e+f x)+1)}{\sqrt {a+b \sec (e+f x)} (c+d \sec (e+f x))^{3/2}}dx}{c-d}\right )}{c}-\frac {2 \sqrt {c+d} \cot (e+f x) (a+b \sec (e+f x)) \sqrt {-\frac {(b c-a d) (1-\sec (e+f x))}{(c+d) (a+b \sec (e+f x))}} \sqrt {\frac {(b c-a d) (\sec (e+f x)+1)}{(c-d) (a+b \sec (e+f x))}} \operatorname {EllipticPi}\left (\frac {a (c+d)}{(a+b) c},\arcsin \left (\frac {\sqrt {a+b} \sqrt {c+d \sec (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sec (e+f x)}}\right ),\frac {(a-b) (c+d)}{(a+b) (c-d)}\right )}{c^2 f \sqrt {a+b}}\)

\(\Big \downarrow \) 4472

\(\displaystyle -\frac {d \left (\frac {(b c-a d) \int \frac {\sec (e+f x) (\sec (e+f x)+1)}{\sqrt {a+b \sec (e+f x)} (c+d \sec (e+f x))^{3/2}}dx}{c-d}+\frac {2 (a-b) \sqrt {a+b} \cot (e+f x) (c+d \sec (e+f x)) \sqrt {\frac {(b c-a d) (1-\sec (e+f x))}{(a+b) (c+d \sec (e+f x))}} \sqrt {-\frac {(b c-a d) (\sec (e+f x)+1)}{(a-b) (c+d \sec (e+f x))}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sec (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sec (e+f x)}}\right ),\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{f (c-d) \sqrt {c+d} (b c-a d)}\right )}{c}-\frac {2 \sqrt {c+d} \cot (e+f x) (a+b \sec (e+f x)) \sqrt {-\frac {(b c-a d) (1-\sec (e+f x))}{(c+d) (a+b \sec (e+f x))}} \sqrt {\frac {(b c-a d) (\sec (e+f x)+1)}{(c-d) (a+b \sec (e+f x))}} \operatorname {EllipticPi}\left (\frac {a (c+d)}{(a+b) c},\arcsin \left (\frac {\sqrt {a+b} \sqrt {c+d \sec (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sec (e+f x)}}\right ),\frac {(a-b) (c+d)}{(a+b) (c-d)}\right )}{c^2 f \sqrt {a+b}}\)

\(\Big \downarrow \) 4482

\(\displaystyle -\frac {2 \sqrt {c+d} \cot (e+f x) (a+b \sec (e+f x)) \sqrt {-\frac {(b c-a d) (1-\sec (e+f x))}{(c+d) (a+b \sec (e+f x))}} \sqrt {\frac {(b c-a d) (\sec (e+f x)+1)}{(c-d) (a+b \sec (e+f x))}} \operatorname {EllipticPi}\left (\frac {a (c+d)}{(a+b) c},\arcsin \left (\frac {\sqrt {a+b} \sqrt {c+d \sec (e+f x)}}{\sqrt {c+d} \sqrt {a+b \sec (e+f x)}}\right ),\frac {(a-b) (c+d)}{(a+b) (c-d)}\right )}{c^2 f \sqrt {a+b}}-\frac {d \left (\frac {2 (a-b) \sqrt {a+b} \cot (e+f x) (c+d \sec (e+f x)) \sqrt {\frac {(b c-a d) (1-\sec (e+f x))}{(a+b) (c+d \sec (e+f x))}} \sqrt {-\frac {(b c-a d) (\sec (e+f x)+1)}{(a-b) (c+d \sec (e+f x))}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sec (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sec (e+f x)}}\right ),\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{f (c-d) \sqrt {c+d} (b c-a d)}+\frac {2 \sqrt {a+b} \cot (e+f x) (\sec (e+f x)+1) \sqrt {\frac {(b c-a d) (1-\sec (e+f x))}{(a+b) (c+d \sec (e+f x))}} E\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sec (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sec (e+f x)}}\right )|\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{f (c-d) \sqrt {c+d} \sqrt {-\frac {(b c-a d) (\sec (e+f x)+1)}{(a-b) (c+d \sec (e+f x))}}}\right )}{c}\)

input
Int[Sqrt[a + b*Sec[e + f*x]]/(c + d*Sec[e + f*x])^(3/2),x]
 
output
(-2*Sqrt[c + d]*Cot[e + f*x]*EllipticPi[(a*(c + d))/((a + b)*c), ArcSin[(S 
qrt[a + b]*Sqrt[c + d*Sec[e + f*x]])/(Sqrt[c + d]*Sqrt[a + b*Sec[e + f*x]] 
)], ((a - b)*(c + d))/((a + b)*(c - d))]*Sqrt[-(((b*c - a*d)*(1 - Sec[e + 
f*x]))/((c + d)*(a + b*Sec[e + f*x])))]*Sqrt[((b*c - a*d)*(1 + Sec[e + f*x 
]))/((c - d)*(a + b*Sec[e + f*x]))]*(a + b*Sec[e + f*x]))/(Sqrt[a + b]*c^2 
*f) - (d*((2*Sqrt[a + b]*Cot[e + f*x]*EllipticE[ArcSin[(Sqrt[c + d]*Sqrt[a 
 + b*Sec[e + f*x]])/(Sqrt[a + b]*Sqrt[c + d*Sec[e + f*x]])], ((a + b)*(c - 
 d))/((a - b)*(c + d))]*(1 + Sec[e + f*x])*Sqrt[((b*c - a*d)*(1 - Sec[e + 
f*x]))/((a + b)*(c + d*Sec[e + f*x]))])/((c - d)*Sqrt[c + d]*f*Sqrt[-(((b* 
c - a*d)*(1 + Sec[e + f*x]))/((a - b)*(c + d*Sec[e + f*x])))]) + (2*(a - b 
)*Sqrt[a + b]*Cot[e + f*x]*EllipticF[ArcSin[(Sqrt[c + d]*Sqrt[a + b*Sec[e 
+ f*x]])/(Sqrt[a + b]*Sqrt[c + d*Sec[e + f*x]])], ((a + b)*(c - d))/((a - 
b)*(c + d))]*Sqrt[((b*c - a*d)*(1 - Sec[e + f*x]))/((a + b)*(c + d*Sec[e + 
 f*x]))]*Sqrt[-(((b*c - a*d)*(1 + Sec[e + f*x]))/((a - b)*(c + d*Sec[e + f 
*x])))]*(c + d*Sec[e + f*x]))/((c - d)*Sqrt[c + d]*(b*c - a*d)*f)))/c
 

3.3.9.3.1 Defintions of rubi rules used

rule 3042
Int[u_, x_Symbol] :> Int[DeactivateTrig[u, x], x] /; FunctionOfTrigOfLinear 
Q[u, x]
 

rule 4424
Int[Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)]/Sqrt[csc[(e_.) + (f_.)*(x_)] 
*(d_.) + (c_)], x_Symbol] :> Simp[2*((a + b*Csc[e + f*x])/(c*f*Rt[(a + b)/( 
c + d), 2]*Cot[e + f*x]))*Sqrt[(b*c - a*d)*((1 + Csc[e + f*x])/((c - d)*(a 
+ b*Csc[e + f*x])))]*Sqrt[(-(b*c - a*d))*((1 - Csc[e + f*x])/((c + d)*(a + 
b*Csc[e + f*x])))]*EllipticPi[a*((c + d)/(c*(a + b))), ArcSin[Rt[(a + b)/(c 
 + d), 2]*(Sqrt[c + d*Csc[e + f*x]]/Sqrt[a + b*Csc[e + f*x]])], (a - b)*((c 
 + d)/((a + b)*(c - d)))], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - 
a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
 

rule 4427
Int[Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)]/(csc[(e_.) + (f_.)*(x_)]*(d_ 
.) + (c_))^(3/2), x_Symbol] :> Simp[1/c   Int[Sqrt[a + b*Csc[e + f*x]]/Sqrt 
[c + d*Csc[e + f*x]], x], x] - Simp[d/c   Int[Csc[e + f*x]*(Sqrt[a + b*Csc[ 
e + f*x]]/(c + d*Csc[e + f*x])^(3/2)), x], x] /; FreeQ[{a, b, c, d, e, f}, 
x] && NeQ[b*c - a*d, 0] && NeQ[c^2 - d^2, 0]
 

rule 4472
Int[csc[(e_.) + (f_.)*(x_)]/(Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)]*Sqr 
t[csc[(e_.) + (f_.)*(x_)]*(d_.) + (c_)]), x_Symbol] :> Simp[-2*((c + d*Csc[ 
e + f*x])/(f*(b*c - a*d)*Rt[(c + d)/(a + b), 2]*Cot[e + f*x]))*Sqrt[(b*c - 
a*d)*((1 - Csc[e + f*x])/((a + b)*(c + d*Csc[e + f*x])))]*Sqrt[(-(b*c - a*d 
))*((1 + Csc[e + f*x])/((a - b)*(c + d*Csc[e + f*x])))]*EllipticF[ArcSin[Rt 
[(c + d)/(a + b), 2]*(Sqrt[a + b*Csc[e + f*x]]/Sqrt[c + d*Csc[e + f*x]])], 
(a + b)*((c - d)/((a - b)*(c + d)))], x] /; FreeQ[{a, b, c, d, e, f}, x] && 
 NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
 

rule 4474
Int[(csc[(e_.) + (f_.)*(x_)]*Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)])/(c 
sc[(e_.) + (f_.)*(x_)]*(d_.) + (c_))^(3/2), x_Symbol] :> Simp[(a - b)/(c - 
d)   Int[Csc[e + f*x]/(Sqrt[a + b*Csc[e + f*x]]*Sqrt[c + d*Csc[e + f*x]]), 
x], x] + Simp[(b*c - a*d)/(c - d)   Int[Csc[e + f*x]*((1 + Csc[e + f*x])/(S 
qrt[a + b*Csc[e + f*x]]*(c + d*Csc[e + f*x])^(3/2))), x], x] /; FreeQ[{a, b 
, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^ 
2, 0]
 

rule 4482
Int[(sec[(e_.) + (f_.)*(x_)]*((A_) + (B_.)*sec[(e_.) + (f_.)*(x_)]))/(Sqrt[ 
(a_) + (b_.)*sec[(e_.) + (f_.)*(x_)]]*((c_) + (d_.)*sec[(e_.) + (f_.)*(x_)] 
)^(3/2)), x_Symbol] :> Simp[2*A*(1 + Sec[e + f*x])*(Sqrt[(b*c - a*d)*((1 - 
Sec[e + f*x])/((a + b)*(c + d*Sec[e + f*x])))]/(f*(b*c - a*d)*Rt[(c + d)/(a 
 + b), 2]*Tan[e + f*x]*Sqrt[(-(b*c - a*d))*((1 + Sec[e + f*x])/((a - b)*(c 
+ d*Sec[e + f*x])))]))*EllipticE[ArcSin[Rt[(c + d)/(a + b), 2]*(Sqrt[a + b* 
Sec[e + f*x]]/Sqrt[c + d*Sec[e + f*x]])], (a + b)*((c - d)/((a - b)*(c + d) 
))], x] /; FreeQ[{a, b, c, d, e, f, A, B}, x] && NeQ[b*c - a*d, 0] && NeQ[a 
^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && EqQ[A, B]
 
3.3.9.4 Maple [B] (warning: unable to verify)

Leaf count of result is larger than twice the leaf count of optimal. \(2443\) vs. \(2(553)=1106\).

Time = 14.38 (sec) , antiderivative size = 2444, normalized size of antiderivative = 4.09

method result size
default \(\text {Expression too large to display}\) \(2444\)

input
int((a+b*sec(f*x+e))^(1/2)/(c+d*sec(f*x+e))^(3/2),x,method=_RETURNVERBOSE)
 
output
-2/f/((a-b)/(a+b))^(1/2)/(c-d)/(c+d)/c*((a*(1-cos(f*x+e))^2*csc(f*x+e)^2-b 
*(1-cos(f*x+e))^2*csc(f*x+e)^2-a-b)/((1-cos(f*x+e))^2*csc(f*x+e)^2-1))^(1/ 
2)*((1-cos(f*x+e))^2*csc(f*x+e)^2-1)*((c*(1-cos(f*x+e))^2*csc(f*x+e)^2-d*( 
1-cos(f*x+e))^2*csc(f*x+e)^2-c-d)/((1-cos(f*x+e))^2*csc(f*x+e)^2-1))^(1/2) 
*(((a-b)/(a+b))^(1/2)*a*c*d*(1-cos(f*x+e))^3*csc(f*x+e)^3-((a-b)/(a+b))^(1 
/2)*a*d^2*(1-cos(f*x+e))^3*csc(f*x+e)^3-((a-b)/(a+b))^(1/2)*b*c*d*(1-cos(f 
*x+e))^3*csc(f*x+e)^3+((a-b)/(a+b))^(1/2)*b*d^2*(1-cos(f*x+e))^3*csc(f*x+e 
)^3+2*(-(a*(1-cos(f*x+e))^2*csc(f*x+e)^2-b*(1-cos(f*x+e))^2*csc(f*x+e)^2-a 
-b)/(a+b))^(1/2)*(-(c*(1-cos(f*x+e))^2*csc(f*x+e)^2-d*(1-cos(f*x+e))^2*csc 
(f*x+e)^2-c-d)/(c+d))^(1/2)*EllipticPi(((a-b)/(a+b))^(1/2)*(-cot(f*x+e)+cs 
c(f*x+e)),-(a+b)/(a-b),((c-d)/(c+d))^(1/2)/((a-b)/(a+b))^(1/2))*a*c^2-2*(- 
(a*(1-cos(f*x+e))^2*csc(f*x+e)^2-b*(1-cos(f*x+e))^2*csc(f*x+e)^2-a-b)/(a+b 
))^(1/2)*(-(c*(1-cos(f*x+e))^2*csc(f*x+e)^2-d*(1-cos(f*x+e))^2*csc(f*x+e)^ 
2-c-d)/(c+d))^(1/2)*EllipticPi(((a-b)/(a+b))^(1/2)*(-cot(f*x+e)+csc(f*x+e) 
),-(a+b)/(a-b),((c-d)/(c+d))^(1/2)/((a-b)/(a+b))^(1/2))*a*d^2-(-(a*(1-cos( 
f*x+e))^2*csc(f*x+e)^2-b*(1-cos(f*x+e))^2*csc(f*x+e)^2-a-b)/(a+b))^(1/2)*( 
-(c*(1-cos(f*x+e))^2*csc(f*x+e)^2-d*(1-cos(f*x+e))^2*csc(f*x+e)^2-c-d)/(c+ 
d))^(1/2)*EllipticF(((a-b)/(a+b))^(1/2)*(-cot(f*x+e)+csc(f*x+e)),((a+b)*(c 
-d)/(a-b)/(c+d))^(1/2))*a*c^2-(-(a*(1-cos(f*x+e))^2*csc(f*x+e)^2-b*(1-cos( 
f*x+e))^2*csc(f*x+e)^2-a-b)/(a+b))^(1/2)*(-(c*(1-cos(f*x+e))^2*csc(f*x+...
 
3.3.9.5 Fricas [F(-1)]

Timed out. \[ \int \frac {\sqrt {a+b \sec (e+f x)}}{(c+d \sec (e+f x))^{3/2}} \, dx=\text {Timed out} \]

input
integrate((a+b*sec(f*x+e))^(1/2)/(c+d*sec(f*x+e))^(3/2),x, algorithm="fric 
as")
 
output
Timed out
 
3.3.9.6 Sympy [F]

\[ \int \frac {\sqrt {a+b \sec (e+f x)}}{(c+d \sec (e+f x))^{3/2}} \, dx=\int \frac {\sqrt {a + b \sec {\left (e + f x \right )}}}{\left (c + d \sec {\left (e + f x \right )}\right )^{\frac {3}{2}}}\, dx \]

input
integrate((a+b*sec(f*x+e))**(1/2)/(c+d*sec(f*x+e))**(3/2),x)
 
output
Integral(sqrt(a + b*sec(e + f*x))/(c + d*sec(e + f*x))**(3/2), x)
 
3.3.9.7 Maxima [F]

\[ \int \frac {\sqrt {a+b \sec (e+f x)}}{(c+d \sec (e+f x))^{3/2}} \, dx=\int { \frac {\sqrt {b \sec \left (f x + e\right ) + a}}{{\left (d \sec \left (f x + e\right ) + c\right )}^{\frac {3}{2}}} \,d x } \]

input
integrate((a+b*sec(f*x+e))^(1/2)/(c+d*sec(f*x+e))^(3/2),x, algorithm="maxi 
ma")
 
output
integrate(sqrt(b*sec(f*x + e) + a)/(d*sec(f*x + e) + c)^(3/2), x)
 
3.3.9.8 Giac [F]

\[ \int \frac {\sqrt {a+b \sec (e+f x)}}{(c+d \sec (e+f x))^{3/2}} \, dx=\int { \frac {\sqrt {b \sec \left (f x + e\right ) + a}}{{\left (d \sec \left (f x + e\right ) + c\right )}^{\frac {3}{2}}} \,d x } \]

input
integrate((a+b*sec(f*x+e))^(1/2)/(c+d*sec(f*x+e))^(3/2),x, algorithm="giac 
")
 
output
integrate(sqrt(b*sec(f*x + e) + a)/(d*sec(f*x + e) + c)^(3/2), x)
 
3.3.9.9 Mupad [F(-1)]

Timed out. \[ \int \frac {\sqrt {a+b \sec (e+f x)}}{(c+d \sec (e+f x))^{3/2}} \, dx=\int \frac {\sqrt {a+\frac {b}{\cos \left (e+f\,x\right )}}}{{\left (c+\frac {d}{\cos \left (e+f\,x\right )}\right )}^{3/2}} \,d x \]

input
int((a + b/cos(e + f*x))^(1/2)/(c + d/cos(e + f*x))^(3/2),x)
 
output
int((a + b/cos(e + f*x))^(1/2)/(c + d/cos(e + f*x))^(3/2), x)